package com.bootdo.project.service.impl;

import com.bootdo.project.domain.TSms;
import com.bootdo.project.dao.TSmsMapper;
import com.codegen.vo.Page;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.ibatis.annotations.Param;

/**
 *
 * Created by xxxx on 2019/03/19.
 */
@Service
public class TSmsService {

	@Autowired
    private TSmsMapper tSmsMapper;
    
    public int deleteByPrimaryKey(Long id){
        return tSmsMapper.deleteByPrimaryKey(id);
    }

    public int insert(TSms record){
        return tSmsMapper.insert(record);
    }

    public int insertSelective(TSms record){
        return tSmsMapper.insertSelective(record);
    }

    public TSms selectByPrimaryKey(Long id){
        return tSmsMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(TSms record){
        return tSmsMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(TSms record){
        return tSmsMapper.updateByPrimaryKey(record);
    }

    public List<TSms> selectByCondition(TSms record){
        return tSmsMapper.selectByCondition(record);
    }

    public List<TSms> selectAll(){
        return tSmsMapper.selectAll();
    }

    public List<TSms> selectByPage(Page<TSms> page){
        return tSmsMapper.selectByPage(page);
    }

    public Integer count(TSms record){
        return tSmsMapper.count(record);
    }

    public int deleteByCondition(TSms record){
        return tSmsMapper.deleteByCondition(record);
    }

}
